home *** CD-ROM | disk | FTP | other *** search
- /*
- *--- PLongQuery.h --------------------------------------------------------
- * Copyright (c) 1995-96 Adobe Systems Incorporated. All rights reserved.
- * Created on Thu, Oct 12, 1995 @ 10:06 PM by Paul Ferguson.
- *
- * Description:
- *-------------------------------------------------------------------------
- */
- #ifndef __PLongQuery__
- #define __PLongQuery__
-
- #include "PQuery.h"
-
- class PLongQuery
- {
-
- operator const long() const { return itsLong; }
-
- protected:
-
- PLongQuery() { }
- PLongQuery(ePMQuery op){ PQuery query(op, itsLong); }
-
- long itsLong;
- };
-
-
- template <ePMQuery QUERY>
- class PLongy : public PLongQuery
- {
- public:
- PLongy() : PLongQuery(QUERY) { }
- };
-
- typedef PLongy<pm_getstoryid> PGetStoryID;
-
- #endif
-
- // end of PLongQuery.h
-